home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software 2000
/
Software 2000 Volume 1 (Disc 1 of 2).iso
/
utilities
/
u267.dms
/
u267.adf
/
INC9110B.LZH
/
include
/
signal.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-10
|
526b
|
27 lines
/*
* signal.h
*/
/*
* 3.3.91 sjw; K&R2
* 10.4.91 sjw; correct types of predefined actions
*/
#ifndef __SIGNAL_H__
#define __SIGNAL_H__
#define NSIG 9
#define SIGINT 2 /* console interrupt */
#define SIGFPE 8 /* floating point exception */
#define SIG_DFL (void (*)())0 /* default action */
#define SIG_IGN (void (*)())1 /* ignore the signal */
#define SIG_ERR (void (*)())(-1) /* error return */
void (*signal(int sig, void (*handler)(int)))(int);
#if 0
int raise(int sig);
#endif
#endif /* __SIGNAL_H__ */